Platform Explorer / Nuxeo Platform 11.3

Component org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactoryManager

Documentation

The nuxeo CMIS service factory manages the NuxeoCmisServiceFactory class and parameters to be extended.

    <extension point="factory" target="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactoryManager">
        <factory class="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactory">
            <parameter name="servicewrapper.1">com.example.my.SimpleWrapper
          </parameter>
            <parameter name="servicewrapper.2">com.example.my.AdvancedWrapper,1,cmis:documents
          </parameter>
            <parameter name="servicewrapper.3">com.example.my.DebuggingWrapper,testRepositoryId
          </parameter>
            <parameter name="service.tempDirectory">/tmp</parameter>
            <parameter name="service.encryptTempFiles">false</parameter>
            <parameter name="service.memoryThreshold">4194304</parameter>
            <parameter name="service.maxContentSize">4294967296</parameter>
            <parameter name="service.defaultTypesMaxItems">100</parameter>
            <parameter name="service.defaultTypesDepth">-1</parameter>
            <parameter name="service.defaultMaxItems">100</parameter>
            <parameter name="service.defaultDepth">2</parameter>
        </factory>
    </extension>

Resolution Order

219
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Start Order

765
The start order represents the order in which this component has been started by the Nuxeo Runtime framework.
This number is interesting to tweak if your Java component interacts with other components, and needs to be started before or after another one.
It can be changed by implementing the method "Component#getApplicationStartedOrder()" on your Java component: components are sorted according to this reference value, in increasing order.
The default value is 1000, and the repository initialization uses number 100. Negative values can also be used.

Implementation

Class: org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactoryManager

Services

Extension Points

XML Source

<?xml version="1.0"?>
<component
  name="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactoryManager"
  version="1.0.0">

  <documentation>
    The nuxeo CMIS service factory manages the NuxeoCmisServiceFactory
    class and parameters to be extended.

    <code>
      <extension
        target="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactoryManager"
        point="factory">
        <factory
          class="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactory">
          <parameter name="servicewrapper.1">com.example.my.SimpleWrapper
          </parameter>
          <parameter name="servicewrapper.2">com.example.my.AdvancedWrapper,1,cmis:documents
          </parameter>
          <parameter name="servicewrapper.3">com.example.my.DebuggingWrapper,testRepositoryId
          </parameter>
          <parameter name="service.tempDirectory">/tmp</parameter>
          <parameter name="service.encryptTempFiles">false</parameter>
          <parameter name="service.memoryThreshold">4194304</parameter>
          <parameter name="service.maxContentSize">4294967296</parameter>
          <parameter name="service.defaultTypesMaxItems">100</parameter>
          <parameter name="service.defaultTypesDepth">-1</parameter>
          <parameter name="service.defaultMaxItems">100</parameter>
          <parameter name="service.defaultDepth">2</parameter>
        </factory>
      </extension>
    </code>

  </documentation>

  <implementation
    class="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactoryManager" />

  <service>
    <provide
      interface="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactoryManager" />
  </service>

  <extension-point name="factory">
    <documentation>
      This service provides an extension point to override
      the NuxeoCmisServiceFactory
      class and parameters.
    </documentation>

    <object
      class="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactoryDescriptor" />
  </extension-point>

</component>